package com.heu.blood.common.enums;

/**
 * 功能描述：血液状态的枚举类
 *
 * @Author: lvyj
 * @Date: 2024/6/25 14:06
 */
public enum BloodStateEnum {
    IN_STORAGE_TEST("IN_STORAGE_TEST","血液入库待检验"),
    IN_STOCK("IN_STOCK","血液在库"),
    BLOOD_SEND("BLOOD_TAKEN_UNCOMPLETED","血液发血"),
    RETURN_TO_BLOODSTATION("RETURN_TO_BLOODSTATION","血液退回血站"),
    IN_MATCH("IN_MATCH","血液配血中"),
    BLOOD_SCRAP("BLOOD_SCRAP","血液报废"),
    USED("USED","血液已使用");

    private final String code;

    private final String value;

    BloodStateEnum(String code, String value) {
        this.code = code;
        this.value = value;
    }

    public String code() {
        return code;
    }

    public String value() {
        return value;
    }
}
